﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="WebApp.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Searching for Services</h2>

    <% Html.RenderPartial("Container", new Container("Type of Volunteering", "CheckList", new Tuple<IEnumerable<string>, bool>(AppConstants.TypeOfVolunteering, true))); %>
        
    <% Html.RenderPartial("Container", new Container("Destinataries", "CheckList", new Tuple<IEnumerable<string>, bool>(AppConstants.Destinataries, true))); %>
        
    <% Html.RenderPartial("Container", new Container("Area of Volunteering", "CheckList", new Tuple<IEnumerable<string>, bool>(AppConstants.AreaofVolunteering , true))); %>             
       

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MetaTagsContent" runat="server">
 
    <script type="text/javascript">

        $(function () {
            var container = $("#main");
            $('<a></a>').attr("href", "/Search/Services?page=1").button().text("Search").appendTo(container); 
        });

    </script>
    
</asp:Content>